setFill

abstract fun setFill(block: DesignBlock, fill: DesignBlock)

Sets the block containing the fill properties of the given block. Note: The previous fill block is not destroyed automatically. Required scopes: "fill/change", "fill/changeType"

Parameters

block

the block whose fill should be changed.

fill

the new fill.